<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>3º Trabalho de Sistemas Distribuídos: Referência da Classe filesystem.server.file.FileHost</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3º Trabalho de Sistemas Distribuídos
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Gerado por Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Pacotes</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Busca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;Componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;Componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;Membros</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variáveis</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacefilesystem.html">filesystem</a></li><li class="navelem"><a class="el" href="namespacefilesystem_1_1server.html">server</a></li><li class="navelem"><a class="el" href="namespacefilesystem_1_1server_1_1file.html">file</a></li><li class="navelem"><a class="el" href="classfilesystem_1_1server_1_1file_1_1FileHost.html">FileHost</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos Públicos</a> &#124;
<a href="#pro-methods">Métodos Protegidos</a>  </div>
  <div class="headertitle">
<div class="title">Referência da Classe filesystem.server.file.FileHost</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Diagrama de colaboração para filesystem.server.file.FileHost:</div>
<div class="dyncontent">
<div class="center"><img src="classfilesystem_1_1server_1_1file_1_1FileHost__coll__graph.png" border="0" usemap="#filesystem_8server_8file_8FileHost_coll__map" alt="Collaboration graph"/></div>
</div>

<p><a href="classfilesystem_1_1server_1_1file_1_1FileHost-members.html">Lista de todos os Membros.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Métodos Públicos</h2></td></tr>
<tr class="memitem:a60e62dfc37c74d866b287c8cd4e04be5"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilesystem_1_1server_1_1file_1_1FileHost.html#a60e62dfc37c74d866b287c8cd4e04be5">getHost</a> ()</td></tr>
<tr class="memitem:ae0591ba988d43130bf924778551edd6b"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilesystem_1_1server_1_1file_1_1FileHost.html#ae0591ba988d43130bf924778551edd6b">getPath</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Métodos Protegidos</h2></td></tr>
<tr class="memitem:a7d6d4f0f0f18b451500fc07fd000ff97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilesystem_1_1server_1_1file_1_1FileHost.html#a7d6d4f0f0f18b451500fc07fd000ff97">FileHost</a> (String path, String host)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Descrição Detalhada</h2>
<div class="textblock"><p>Classe que gerencia o host que armazena um arquivo </p>
</div><hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="a7d6d4f0f0f18b451500fc07fd000ff97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">filesystem.server.file.FileHost.FileHost </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>host</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Cria o objeto que associa o caminho do arquivo com o host que o armazena.</p>
<dl class="params"><dt>Parâmetros:</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>Caminho do arquivo. </td></tr>
    <tr><td class="paramname">host</td><td>Host em que o arquivo está armazenado. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a60e62dfc37c74d866b287c8cd4e04be5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String filesystem.server.file.FileHost.getHost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtém o nome do host.</p>
<dl class="section return"><dt>Retorna:</dt><dd>O nome do host. </dd></dl>

<p><div class="dynheader">
Este é o diagrama das funções que utilizam esta função:</div>
<div class="dyncontent">
<div class="center"><img src="classfilesystem_1_1server_1_1file_1_1FileHost_a60e62dfc37c74d866b287c8cd4e04be5_icgraph.png" border="0" usemap="#classfilesystem_1_1server_1_1file_1_1FileHost_a60e62dfc37c74d866b287c8cd4e04be5_icgraph" alt=""/></div>
<map name="classfilesystem_1_1server_1_1file_1_1FileHost_a60e62dfc37c74d866b287c8cd4e04be5_icgraph" id="classfilesystem_1_1server_1_1file_1_1FileHost_a60e62dfc37c74d866b287c8cd4e04be5_icgraph">
<area shape="rect" id="node3" href="classfilesystem_1_1server_1_1ServerConnection.html#a4462539887554fa8be90331edb33968f" title="filesystem.server.Server\lConnection.run" alt="" coords="222,5,386,46"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae0591ba988d43130bf924778551edd6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String filesystem.server.file.FileHost.getPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtém o caminho do arquivo.</p>
<dl class="section return"><dt>Retorna:</dt><dd>O caminho do arquivo. </dd></dl>

<p><div class="dynheader">
Este é o diagrama das funções que utilizam esta função:</div>
<div class="dyncontent">
<div class="center"><img src="classfilesystem_1_1server_1_1file_1_1FileHost_ae0591ba988d43130bf924778551edd6b_icgraph.png" border="0" usemap="#classfilesystem_1_1server_1_1file_1_1FileHost_ae0591ba988d43130bf924778551edd6b_icgraph" alt=""/></div>
<map name="classfilesystem_1_1server_1_1file_1_1FileHost_ae0591ba988d43130bf924778551edd6b_icgraph" id="classfilesystem_1_1server_1_1file_1_1FileHost_ae0591ba988d43130bf924778551edd6b_icgraph">
<area shape="rect" id="node3" href="classfilesystem_1_1server_1_1ServerConnection.html#a4462539887554fa8be90331edb33968f" title="filesystem.server.Server\lConnection.run" alt="" coords="222,5,386,46"/></map>
</div>
</p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir do seguinte arquivo:<ul>
<li>src/filesystem/server/file/<a class="el" href="FileHost_8java.html">FileHost.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Gerado por &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
